﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using Volo.Abp.Domain.Entities;
using Microsoft.EntityFrameworkCore;

namespace Cap.UserMicroservice.Entities
{
    /// <summary>
    /// 用户信息扩展表
    /// </summary>
    public class UserDetailInfo:Entity<Guid>
    {
        [Required]
        [Column("UserId", TypeName = "char(36)")]
        [Comment("用户唯一标识")]
        public Guid UserId { get; set; }
        [Required]
        [MaxLength(50)]
        [Column("UserAreaCode", TypeName = "varchar(50)")]
        public string UserAreaCode { get; set; }
        [MaxLength(500)]
        [Column("UserAddress", TypeName = "varchar(500)")]
        public string UserAddress { get; set; }

    }
}
